package pers.archives.loginToken.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import pers.archives.common.entity.User;
import pers.archives.loginToken.mapper.UserMapper;
import pers.archives.loginToken.service.UserService;

/*
 *@program:archives-parent
 *@author: 赵浩浩
 *@Time: 2020/8/20  10:32
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;

    @Override
    public User findByUserName(String username) {
        return userMapper.findByUserName(username);
    }
}
